package com.yungu.swift.assets.driver.model.vo;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.yungu.swift.base.model.BaseVo;
import com.yungu.swift.base.model.annotation.Desensitization;

/**
 * @author Zerrion
 * @version 1.0
 * @description 监控地图司机列表
 * @date 2017/12/27 15:53
 */
public class MonitorDriverListVo extends BaseVo {

    /**
     * "1" 空车 "2" 接客中 "3" 载客中 "4" 收车中 "5" 离线中
     */
    public static final String DRIVER_STATUS_EMPTY = "1";
    public static final String DRIVER_STATUS_PICKUP = "2";
    public static final String DRIVER_STATUS_CARRY = "3";
    public static final String DRIVER_STATUS_OFFWORK = "4";
    public static final String DRIVER_STATUS_OFFLINE = "5";
    /**
     * 司机ID
     */
    private String driverUuid;

    /**
     * 姓名
     */
    @Desensitization(type = Desensitization.DesensitionType.NAME)
    private String driverName;

    /**
     * 电话
     */
    @Desensitization(type = Desensitization.DesensitionType.MOBILE)
    private String driverMobile;

    /**
     * 车牌
     */
    private String plateNum;

    /**
     * 当前状态 1、空车 2、接客中 3、载客中 4、离线 5、收车
     */
    private String currentStatus;

    /**
     * 当前经度
     */
    private Double currentLng;

    /**
     * 当前纬度
     */
    private Double currentLat;

    /**
     * 上班状态 1下班 2上班，这个字段作为后台过滤用，可以不返回前台
     */
    @JsonIgnore
    private int isWork;

    /**
     * 司机类型
     *
     * @return
     */
    private Integer driverType;

    public int getIsWork() {
        return isWork;
    }

    public void setIsWork(int isWork) {
        this.isWork = isWork;
    }

    public String getDriverUuid() {
        return driverUuid;
    }

    public void setDriverUuid(String driverUuid) {
        this.driverUuid = driverUuid;
    }

    public String getDriverName() {
        return driverName;
    }

    public void setDriverName(String driverName) {
        this.driverName = driverName;
    }

    public String getPlateNum() {
        return plateNum;
    }

    public void setPlateNum(String plateNum) {
        this.plateNum = plateNum;
    }

    public String getCurrentStatus() {
        return currentStatus;
    }

    public void setCurrentStatus(String currentStatus) {
        this.currentStatus = currentStatus;
    }

    public Double getCurrentLng() {
        return currentLng;
    }

    public void setCurrentLng(Double currentLng) {
        this.currentLng = currentLng;
    }

    public Double getCurrentLat() {
        return currentLat;
    }

    public void setCurrentLat(Double currentLat) {
        this.currentLat = currentLat;
    }

    public String getDriverMobile() {
        return driverMobile;
    }

    public void setDriverMobile(String driverMobile) {
        this.driverMobile = driverMobile;
    }

    public Integer getDriverType() {
        return driverType;
    }

    public void setDriverType(Integer driverType) {
        this.driverType = driverType;
    }
}
